<?php


namespace App\Http\Controllers\Marketing\Merchant;


use App\Http\Controllers\BaseController;
use App\Service\Marketing\ShopAdvertisementService;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class ShopAdvertisementController extends BaseController
{
    public function info(Request $request):JsonResponse
    {
        $shopId = (int)$request->header('shopid',0);
        return $this->success(ShopAdvertisementService::info($shopId));
    }

}